<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>用户列表</title>
	</head>
	<body>
		<table class="table-layout">
			<tr class="tr-odd">
				<td class="td-label">
					姓名
				</td>
				<td>
					<c:out value="${entity.loginName}" />
				</td>
			</tr>
			<tr class="tr-even">
				<td class="td-label">
					密码
				</td>
				<td>
					<c:out value="${entity.loginPassword}" />
				</td>
			</tr>
			<tr class="tr-odd">
				<td class="td-label">
					<label>
						昵称
					</label>
				</td>
				<td>
					<c:out value="${entity.otherName}" />
				</td>
			</tr>
			<tr class="tr-even">
				<td class="td-label">
					邮箱
				</td>
				<td>
					<c:out value="${entity.contact.email}" />
				</td>
			</tr>
			<tr class="tr-odd">
				<td class="td-label">
					<label>
						角色
					</label>
				</td>
				<td>
					<c:forEach items="${entity.roles}" var="role">
					<c:out value="${role.title}" />,
					</c:forEach>
				</td>
			</tr>
		</table>
		<br />
		<div class="center-opertion">
			<button onclick="javascript:history.back();" class="button">
				返回
			</button>
		</div>
	</body>
</html>
